package ai.peanut.one.api;

import ai.peanut.one.api.mq.mqTestTopic.TopicSend;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.mybatis.spring.annotation.MapperScan;
import org.redisson.api.RedissonClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(basePackages={
		"ai.peanut.one"})
@EnableTransactionManagement
@ServletComponentScan("ai.peanut.one")
@Slf4j
public class OneApiApplication {
	@Autowired
	RedissonClient redissonClient;

	public static void main(String[] args) {
		log.info("---------------");
		SpringApplication.run(OneApiApplication.class, args);




	}



}
